public class TwoArrayExercise3 {
    public static void main(String[] args) {
        /*
        1
        1 2
        1 2 3
        1 2 3 4
         */
        int[][] arr = {{1}, {1,2}, {1,2,3},{1,2,3,4}};

        for (int i = 0; i < arr.length; i++) {
            for (int j = 0; j < arr[i].length; j++) {
                System.out.print(arr[i][j]+"\t");
            }
            System.out.println();
        }
    }
}
